package org.service.provider.one.vo;

import java.util.Date;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

import lombok.Data;

@Data
public class QueryParam {
	@NotEmpty(message = "用户名不能为空")
	private String username;
	@Max(value = 120, message = "年龄不能大于120")
	@Min(value = 18, message = "年龄不能小于18")
	private int age;

	private Date birthday;
}
